/**
 * @version v1.0
 * @description:
 * @author: admin
 * @date: 2022/12/9 13:39
 * @copyright: 博为峰
 */
public class IfElseIfDemo {
    public static void main(String[] args) {
        int week = 6;
        if (week == 1) {
            System.out.println("周一");
        } else if (week == 2) {
            System.out.println("周二");
        } else if (week == 3) {
            System.out.println("周三");
        } else if (week == 4) {
            System.out.println("周四");
        } else if (week == 5) {
            System.out.println("周五");
        } else if (week == 6) {
            System.out.println("周六");
        } else if (week == 7) {
            System.out.println("周日");
        } else {
            System.out.println("无");
        }
    }
}
